# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'IPmsgWindow.ui'
#
# Created: Fri Oct 09 22:39:53 2009
#      by: PyQt4 UI code generator 4.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(213, 520)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_4.setSpacing(0)
        self.horizontalLayout_4.setMargin(0)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.widget = QtGui.QWidget(self.centralwidget)
        self.widget.setObjectName("widget")
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout_3.setSpacing(0)
        self.horizontalLayout_3.setMargin(0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(0)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.absModes_Cobo = QtGui.QComboBox(self.widget)
        self.absModes_Cobo.setObjectName("absModes_Cobo")
        self.absModes_Cobo.addItem("")
        self.absModes_Cobo.addItem("")
        self.absModes_Cobo.addItem("")
        self.horizontalLayout_2.addWidget(self.absModes_Cobo)
        self.searchBuddy_Line = QtGui.QLineEdit(self.widget)
        self.searchBuddy_Line.setObjectName("searchBuddy_Line")
        self.horizontalLayout_2.addWidget(self.searchBuddy_Line)
        self.horizontalLayout_3.addLayout(self.horizontalLayout_2)
        self.verticalLayout.addWidget(self.widget)
        self.toolBox = QtGui.QToolBox(self.centralwidget)
        self.toolBox.setObjectName("toolBox")
        self.page_buddies = QtGui.QWidget()
        self.page_buddies.setGeometry(QtCore.QRect(0, 0, 211, 418))
        self.page_buddies.setObjectName("page_buddies")
        self.horizontalLayout = QtGui.QHBoxLayout(self.page_buddies)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.buddyGroups = QtGui.QTreeWidget(self.page_buddies)
        self.buddyGroups.setHeaderHidden(True)
        self.buddyGroups.setObjectName("buddyGroups")
        item_0 = QtGui.QTreeWidgetItem(self.buddyGroups)
        item_0 = QtGui.QTreeWidgetItem(self.buddyGroups)
        self.horizontalLayout.addWidget(self.buddyGroups)
        self.toolBox.addItem(self.page_buddies, "")
        self.page_2 = QtGui.QWidget()
        self.page_2.setGeometry(QtCore.QRect(0, 0, 211, 418))
        self.page_2.setObjectName("page_2")
        self.toolBox.addItem(self.page_2, "")
        self.verticalLayout.addWidget(self.toolBox)
        self.horizontalLayout_4.addLayout(self.verticalLayout)
        MainWindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.statusbar.sizePolicy().hasHeightForWidth())
        self.statusbar.setSizePolicy(sizePolicy)
        self.statusbar.setSizeGripEnabled(False)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.toolBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "IP Messager", None, QtGui.QApplication.UnicodeUTF8))
        self.absModes_Cobo.setItemText(0, QtGui.QApplication.translate("MainWindow", "在线", None, QtGui.QApplication.UnicodeUTF8))
        self.absModes_Cobo.setItemText(1, QtGui.QApplication.translate("MainWindow", "离开", None, QtGui.QApplication.UnicodeUTF8))
        self.absModes_Cobo.setItemText(2, QtGui.QApplication.translate("MainWindow", "隐身", None, QtGui.QApplication.UnicodeUTF8))
        self.searchBuddy_Line.setText(QtGui.QApplication.translate("MainWindow", "搜索..", None, QtGui.QApplication.UnicodeUTF8))
        self.buddyGroups.headerItem().setText(0, QtGui.QApplication.translate("MainWindow", "1", None, QtGui.QApplication.UnicodeUTF8))
        __sortingEnabled = self.buddyGroups.isSortingEnabled()
        self.buddyGroups.setSortingEnabled(False)
        self.buddyGroups.topLevelItem(0).setText(0, QtGui.QApplication.translate("MainWindow", "我的好友", None, QtGui.QApplication.UnicodeUTF8))
        self.buddyGroups.topLevelItem(1).setText(0, QtGui.QApplication.translate("MainWindow", "黑名单", None, QtGui.QApplication.UnicodeUTF8))
        self.buddyGroups.setSortingEnabled(__sortingEnabled)
        self.toolBox.setItemText(self.toolBox.indexOf(self.page_buddies), QtGui.QApplication.translate("MainWindow", "好友列表", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page_2), QtGui.QApplication.translate("MainWindow", "好友群", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

